package day05;
//此类用于输出每个月多少天，是for玄幻遍历数组的案例
public class Test05 {
    public static void main(String[] args) {
        int [] day = {31,28,31,30,31,30,31,31,30,31,30,31};
        for (int i = 0; i<day.length; i++){
            System.out.println((i+1) + "月有" + day[i] +"天");
        }
    }
}